package gov.chinatax.ctcps.generator.dao.pojo;

import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="NZJY_ZT"
 *     
*/
public class NzjyZt implements Serializable {

    /** identifier field */
    private String jyztbh;

    /** nullable persistent field */
    private String nd;

    /** persistent field */
    private String jyBz;

    /** persistent field */
    private String jyztDm;

    /** nullable persistent field */
    private String sbsj;

    /** nullable persistent field */
    private String hzztbh;

    /** nullable persistent field */
    private String zjhzbh;

    /** nullable persistent field */
    private String dwbh;

    /** nullable persistent field */
    private String bhyy;

    /** nullable persistent field */
    private String hzsjBz;

    /** persistent field */
    private String yhzBz;

    /** persistent field */
    private String yydBz;

    /** nullable persistent field */
    private String sx;

    /** nullable persistent field */
    private String zt1;

    /** nullable persistent field */
    private String zt2;

    /** full constructor */
    public NzjyZt(String jyztbh, String nd, String jyBz, String jyztDm, String sbsj, String hzztbh, String zjhzbh, String dwbh, String bhyy, String hzsjBz, String yhzBz, String yydBz, String sx, String zt1, String zt2) {
        this.jyztbh = jyztbh;
        this.nd = nd;
        this.jyBz = jyBz;
        this.jyztDm = jyztDm;
        this.sbsj = sbsj;
        this.hzztbh = hzztbh;
        this.zjhzbh = zjhzbh;
        this.dwbh = dwbh;
        this.bhyy = bhyy;
        this.hzsjBz = hzsjBz;
        this.yhzBz = yhzBz;
        this.yydBz = yydBz;
        this.sx = sx;
        this.zt1 = zt1;
        this.zt2 = zt2;
    }

    /** default constructor */
    public NzjyZt() {
    }

    /** minimal constructor */
    public NzjyZt(String jyztbh, String jyBz, String jyztDm, String yhzBz, String yydBz) {
        this.jyztbh = jyztbh;
        this.jyBz = jyBz;
        this.jyztDm = jyztDm;
        this.yhzBz = yhzBz;
        this.yydBz = yydBz;
    }

    /** 
     *            @hibernate.id
     *             generator-class="assigned"
     *             type="java.lang.String"
     *             column="JYZTBH"
     *         
     */
    public String getJyztbh() {
        return this.jyztbh;
    }

    public void setJyztbh(String jyztbh) {
        this.jyztbh = jyztbh;
    }

    /** 
     *            @hibernate.property
     *             column="ND"
     *             length="4"
     *         
     */
    public String getNd() {
        return this.nd;
    }

    public void setNd(String nd) {
        this.nd = nd;
    }

    /** 
     *            @hibernate.property
     *             column="JY_BZ"
     *             length="1"
     *             not-null="true"
     *         
     */
    public String getJyBz() {
        return this.jyBz;
    }

    public void setJyBz(String jyBz) {
        this.jyBz = jyBz;
    }

    /** 
     *            @hibernate.property
     *             column="JYZT_DM"
     *             length="2"
     *             not-null="true"
     *         
     */
    public String getJyztDm() {
        return this.jyztDm;
    }

    public void setJyztDm(String jyztDm) {
        this.jyztDm = jyztDm;
    }

    /** 
     *            @hibernate.property
     *             column="SBSJ"
     *             length="14"
     *         
     */
    public String getSbsj() {
        return this.sbsj;
    }

    public void setSbsj(String sbsj) {
        this.sbsj = sbsj;
    }

    /** 
     *            @hibernate.property
     *             column="HZZTBH"
     *             length="50"
     *         
     */
    public String getHzztbh() {
        return this.hzztbh;
    }

    public void setHzztbh(String hzztbh) {
        this.hzztbh = hzztbh;
    }

    /** 
     *            @hibernate.property
     *             column="ZJHZBH"
     *             length="50"
     *         
     */
    public String getZjhzbh() {
        return this.zjhzbh;
    }

    public void setZjhzbh(String zjhzbh) {
        this.zjhzbh = zjhzbh;
    }

    /** 
     *            @hibernate.property
     *             column="DWBH"
     *             length="50"
     *         
     */
    public String getDwbh() {
        return this.dwbh;
    }

    public void setDwbh(String dwbh) {
        this.dwbh = dwbh;
    }

    /** 
     *            @hibernate.property
     *             column="BHYY"
     *             length="400"
     *         
     */
    public String getBhyy() {
        return this.bhyy;
    }

    public void setBhyy(String bhyy) {
        this.bhyy = bhyy;
    }

    /** 
     *            @hibernate.property
     *             column="HZSJ_BZ"
     *             length="1"
     *         
     */
    public String getHzsjBz() {
        return this.hzsjBz;
    }

    public void setHzsjBz(String hzsjBz) {
        this.hzsjBz = hzsjBz;
    }

    /** 
     *            @hibernate.property
     *             column="YHZ_BZ"
     *             length="1"
     *             not-null="true"
     *         
     */
    public String getYhzBz() {
        return this.yhzBz;
    }

    public void setYhzBz(String yhzBz) {
        this.yhzBz = yhzBz;
    }

    /** 
     *            @hibernate.property
     *             column="YYD_BZ"
     *             length="1"
     *             not-null="true"
     *         
     */
    public String getYydBz() {
        return this.yydBz;
    }

    public void setYydBz(String yydBz) {
        this.yydBz = yydBz;
    }

    /** 
     *            @hibernate.property
     *             column="SX"
     *             length="10"
     *         
     */
    public String getSx() {
        return this.sx;
    }

    public void setSx(String sx) {
        this.sx = sx;
    }

    /** 
     *            @hibernate.property
     *             column="ZT1"
     *             length="50"
     *         
     */
    public String getZt1() {
        return this.zt1;
    }

    public void setZt1(String zt1) {
        this.zt1 = zt1;
    }

    /** 
     *            @hibernate.property
     *             column="ZT2"
     *             length="50"
     *         
     */
    public String getZt2() {
        return this.zt2;
    }

    public void setZt2(String zt2) {
        this.zt2 = zt2;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("jyztbh", getJyztbh())
            .toString();
    }

    public boolean equals(Object other) {
        if ( !(other instanceof NzjyZt) ) return false;
        NzjyZt castOther = (NzjyZt) other;
        return new EqualsBuilder()
            .append(this.getJyztbh(), castOther.getJyztbh())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getJyztbh())
            .toHashCode();
    }

}
